\hypertarget{classmdp__nmatrix__field}{
\section{mdp\_\-nmatrix\_\-field Class Reference}
\label{classmdp__nmatrix__field}\index{mdp\_\-nmatrix\_\-field@{mdp\_\-nmatrix\_\-field}}
}
field of vectors of matrices  


{\tt \#include $<$mdp\_\-nmatrix\_\-field.h$>$}

Inherits \hyperlink{classmdp__field}{mdp\_\-field$<$ mdp\_\-complex $>$}.

Collaboration diagram for mdp\_\-nmatrix\_\-field:\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hypertarget{classmdp__nmatrix__field_10d00272d103d471a1cd9e5921d39419}{
\hyperlink{classmdp__nmatrix__field_10d00272d103d471a1cd9e5921d39419}{mdp\_\-nmatrix\_\-field} (\hyperlink{classmdp__lattice}{mdp\_\-lattice} \&a, int n, int i, int j)}
\label{classmdp__nmatrix__field_10d00272d103d471a1cd9e5921d39419}

\begin{CompactList}\small\item\em declares a field object that at each site as vector of n ixj matrices \item\end{CompactList}\item 
\hypertarget{classmdp__nmatrix__field_d8803e7b0f9a755329a1d7335ac0c019}{
void \hyperlink{classmdp__nmatrix__field_d8803e7b0f9a755329a1d7335ac0c019}{allocate\_\-mdp\_\-nmatrix\_\-field} (\hyperlink{classmdp__lattice}{mdp\_\-lattice} \&a, int n, int i, int j)}
\label{classmdp__nmatrix__field_d8803e7b0f9a755329a1d7335ac0c019}

\begin{CompactList}\small\item\em dynamically allocates a field object that at each site as vector of n ixj matrices \item\end{CompactList}\item 
\hypertarget{classmdp__nmatrix__field_389126da9ddf86d42b27d4d9d20245f8}{
\hyperlink{classmdp__matrix}{mdp\_\-matrix} \hyperlink{classmdp__nmatrix__field_389126da9ddf86d42b27d4d9d20245f8}{operator()} (\hyperlink{classmdp__site}{mdp\_\-site} x, int n)}
\label{classmdp__nmatrix__field_389126da9ddf86d42b27d4d9d20245f8}

\begin{CompactList}\small\item\em returns the n-th matrix stored at site x \item\end{CompactList}\item 
\hypertarget{classmdp__nmatrix__field_b166e6abe76fcafd63dec9739da8324c}{
\hyperlink{classmdp__complex}{mdp\_\-complex} \& \hyperlink{classmdp__nmatrix__field_b166e6abe76fcafd63dec9739da8324c}{operator()} (\hyperlink{classmdp__site}{mdp\_\-site} x, int n, int i, int j)}
\label{classmdp__nmatrix__field_b166e6abe76fcafd63dec9739da8324c}

\begin{CompactList}\small\item\em returns the (i,j) component of the n-th matrix stored at site x \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
field of vectors of matrices 

Example: 

\footnotesize\begin{verbatim}
///    int box[]={10,10,10};
///    mdp_lattice lattice(3,box);
///    mdp_nmatrix_field h(lattice,10,3,3);
///    mdp_site x(lattice);
///    forallsites(x)
///      for(int i=0; i<10; i++)
///        h(x,i)=lattice.random(x).SU(3);
/// \end{verbatim}
\normalsize
 

The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
/Users/mdipierro/Desktop/SciDac/development/Libraries/\hyperlink{mdp__nmatrix__field_8h}{mdp\_\-nmatrix\_\-field.h}\end{CompactItemize}
